Test XOS_NEEDS_TIME_H, not HPUX, for including time.hj.
authorRichard M. Stallman <rms@gnu.org>
Wed, 2 Jun 1993 20:15:43 +0000 (20:15 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 2 Jun 1993 20:15:43 +0000 (20:15 +0000)
src/xfaces.c

index e7aff5826c6fbc8639495bbbd7a6bf5cf49ded91..fc56bb4a8a7f92116f29eedd00597f6590e8ced9 100644 (file)
@@ -34,8 +34,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include "blockinput.h"
 #include "window.h"
 
-/* Compensate for bug in Xos.h on hpux.  */
-#ifdef HPUX
+/* Compensate for bug in Xos.h on some systems.  */
+#ifdef XOS_NEEDS_TIME_H
 #include <time.h>
 #define __TIMEVAL__
 #endif